package com.vueperson.vueperson.t1.CreationalPattern.AbstractFactoryPattern.SkinFactory;

public class Client {
    public static void main(String[] args) {
        //使用抽象层定义
        SkinFactory skinFactory;
        Button bt;
        TextField tf;
        ComboBox cb;
        skinFactory= (SkinFactory) XMLUtil.getBean();
        bt=skinFactory.createButton();
        tf=skinFactory.createTextField();
        cb=skinFactory.createComboBox();
        bt.display();
        tf.display();
        cb.display();

    }
}
